package com.fsy.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName askers
 */
@TableName(value ="askers")
@Data
public class Askers implements Serializable {
    /**
     * 
     */
    @TableId(value = "askerId")
    private Integer askerId;

    /**
     * 用户name
     */
    @TableField(value = "askerName")
    private String askerName;

    /**
     * 权重（给学生分配咨询师的权重）
     */
    @TableField(value = "weight")
    private Integer weight;

    @TableField(exist = false)  //非数据库字段加
    private int page;

    @TableField(exist = false)  //非数据库字段加
    private int limit;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}